package com.gitee.aurora.server.service;



import com.gitee.aurora.server.vo.PtConfig;
import com.gitee.aurora.server.vo.PtcjConfig;
import com.gitee.aurora.server.vo.SqlConfigItem;
import com.gitee.aurora.server.vo.TableConfig;
import com.gitee.aurora.utils.PageParam;
import com.gitee.aurora.utils.Pagination;

import java.util.List;


public interface PtConfigService {


    /**
     *插入平台配置信息
     */
    int insertPtConfigService(PtConfig ptConfig)throws Exception;
    /**
     *删除平台配置信息
     */
    int deletePtConfigService(PtConfig ptConfig)throws Exception;
    /**
     *修改平台配置
     */
    int updatePtConfigService(PtConfig ptConfig)throws Exception;
    /**
     *查询平台配置列表信息
     */
    Pagination queryPtConfigService(PtConfig ptConfig, PageParam pageParam)throws Exception;
    /**
     *查询平台类型
     */
    List<SqlConfigItem> queryPtLx()throws Exception;
    /**
     *查询平台系列类型
     */
    List<SqlConfigItem> queryPtXl()throws Exception;
    /**
     *查询所有检测表
     */
    List<TableConfig> queryTable()throws Exception;
    /**
     *查询检测机构树
     */
    List<PtcjConfig> queryPtcjConfig() throws Exception;
    /**
     *通过code值查询下级组件
     */
    List<PtcjConfig> queryPtxjInfo(String sCode) throws Exception;
    /**
     *根据表名查询sql
     */
    List<PtConfig>querySql(PtConfig ptConfig) throws Exception;
    /**
     * 根据数据中心查询监督、办案区
     */
    List<PtcjConfig> queryPtxjinfoList(PtcjConfig ptcjConfig) throws Exception;





}



